﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_ROLE.cs
// 项目名称：Lovol 
// 创建时间：2011/10/24
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_ROLE数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_ROLE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_ROLE", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_ROLE_Entity
    {
        #region 变量定义
        ///<summary>
        ///角色编号
        ///</summary>
        private long _rOLEID;
        ///<summary>
        ///角色名称
        ///</summary>
        private string _rOLENAME = String.Empty;
        ///<summary>
        ///状态
        ///</summary>
        private long? _sTATUS = 0;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///最后修改人编号
        ///</summary>
        private long? _lASTMODIFYPEOPLEID = 0;
        ///<summary>
        ///最后修改人
        ///</summary>
        private string _lASTMODIFYPEOPLE = String.Empty;
        ///<summary>
        ///最后修改时间
        ///</summary>
        private DateTime? _lASTMODIFYTIME;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private long? _vIEWRIGHT = 0;
        ///<summary>
        ///
        ///</summary>
        private long? _mOBILEUSERTYPE = 0;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_ROLE_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///角色编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_ROLE")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long ROLEID
        {
            get { return _rOLEID; }
            set { _rOLEID = value; }

        }

        ///<summary>
        ///角色名称
        ///</summary>		
        public string ROLENAME
        {
            get { return _rOLENAME; }
            set
            {
                _rOLENAME = value;
            }

        }

        ///<summary>
        ///状态
        ///</summary>		
        public long? STATUS
        {
            get { return _sTATUS; }
            set { _sTATUS = value; }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改人编号
        ///</summary>		
        public long? LASTMODIFYPEOPLEID
        {
            get { return _lASTMODIFYPEOPLEID; }
            set { _lASTMODIFYPEOPLEID = value; }

        }

        ///<summary>
        ///最后修改人
        ///</summary>		
        public string LASTMODIFYPEOPLE
        {
            get { return _lASTMODIFYPEOPLE; }
            set
            {
                _lASTMODIFYPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改时间
        ///</summary>		
        public DateTime? LASTMODIFYTIME
        {
            get { return _lASTMODIFYTIME; }
            set { _lASTMODIFYTIME = value; }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public long? VIEWRIGHT
        {
            get { return _vIEWRIGHT; }
            set { _vIEWRIGHT = value; }

        }

        ///<summary>
        ///
        ///</summary>		
        public long? MOBILEUSERTYPE
        {
            get { return _mOBILEUSERTYPE; }
            set { _mOBILEUSERTYPE = value; }

        }


        #endregion

    }
}
